<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-control" content="no-cache">
    <meta http-equiv="Cache" content="no-cache">
    <title>智能进出口服务平台</title>
    <link rel="shortcut icon" type="image/x-icon" href="/images/logo.ico" />
    <link rel="stylesheet" type="text/css" href="/layui/css/layui.css?v=202001010101" />
    <link rel="stylesheet" type="text/css" href="/css/font-awesome.min.css?v=202001010101" />
    <link rel="stylesheet" type="text/css" href="/css/style.css?v=202001010101">
    <link rel="stylesheet" type="text/css" href="/css/jquery-ui.css?v=202001010101">
</head>
<body>
<div class="tsf-page-content" style="padding: 0px;">
    <div class="layui-card" style="margin-bottom: 6px;">
        <form class="layui-form" method="post" lay-filter="baseForm" id="baseForm">
            <input type="hidden" name="orderId" id="orderId"/>
            <input type="hidden" name="orderNo" id="orderNo"/>
            <div class="layui-card-header"><span class="def-fc left-split"><i class="fa fa-address-card-o"></i>合同主单</span></div>
            <div class="layui-card-body">
                <div class="layui-row">
                    <div class="layui-col-md3">
                        <label class="layui-form-label"><span class="text-danger">*</span>合同号</label>
                        <div class="layui-input-block">
                            <input name="docNo" id="docNo" class="layui-input required" placeholder="合同号" maxlength="20"/>
                        </div>
                    </div>
                    <div class="layui-col-md3">
                        <label class="layui-form-label"><span class="text-danger">*</span>客户名称</label>
                        <div class="layui-input-block">
                            <input type="hidden" name="customerId" id="customerId"/>
                            <input name="customerName" id="customerName" class="layui-input required layui-disabled" placeholder="客户名称" readonly/>
                        </div>
                    </div>
                    <div class="layui-col-md3">
                        <label class="layui-form-label"><span class="text-danger">*</span>签定日期</label>
                        <div class="layui-input-block">
                            <input name="signingDate" id="signingDate" class="layui-input picker-date required" placeholder="签定日期"/>
                        </div>
                    </div>
                    <div class="layui-col-md3">
                        <label class="layui-form-label"><span class="text-danger">*</span>签定地点</label>
                        <div class="layui-input-block">
                            <input name="signingPlace" id="signingPlace" class="layui-input required" placeholder="签定地点" value="深圳特区"/>
                        </div>
                    </div>
                </div>
                <div class="layui-row">
                    <div class="layui-col-md3">
                        <label class="layui-form-label"><span class="text-danger">*</span>买方</label>
                        <div class="layui-input-block">
                            <input name="buyerName" id="buyerName" class="layui-input required layui-disabled" placeholder="买方" readonly/>
                        </div>
                    </div>
                    <div class="layui-col-md3">
                        <label class="layui-form-label"><span class="text-danger">*</span>买方代表</label>
                        <div class="layui-input-block">
                            <input name="buyerDeputy" id="buyerDeputy" class="layui-input required" placeholder="买方代表"/>
                        </div>
                    </div>
                    <div class="layui-col-md6">
                        <label class="layui-form-label">买方电话</label>
                        <div class="layui-input-block">
                            <input name="buyerTel" id="buyerTel" class="layui-input" placeholder="买方电话"/>
                        </div>
                    </div>
                </div>
                <div class="layui-row">
                    <div class="layui-col-md3">
                        <label class="layui-form-label"><span class="text-danger">*</span>买方开户行</label>
                        <div class="layui-input-block">
                            <input name="buyerBank" id="buyerBank" class="layui-input required" placeholder="买方开户行"/>
                        </div>
                    </div>
                    <div class="layui-col-md3">
                        <label class="layui-form-label"><span class="text-danger">*</span>银行帐号</label>
                        <div class="layui-input-block">
                            <input name="buyerBankNo" id="buyerBankNo" class="layui-input required" placeholder="银行帐号"/>
                        </div>
                    </div>
                    <div class="layui-col-md6">
                        <label class="layui-form-label">地址</label>
                        <div class="layui-input-block">
                            <input name="buyerBankAddress" id="buyerBankAddress" class="layui-input" placeholder="地址"/>
                        </div>
                    </div>
                </div>
                <div class="layui-row">
                    <div class="layui-col-md3">
                        <label class="layui-form-label"><span class="text-danger">*</span>卖方</label>
                        <div class="layui-input-block">
                            <input name="sellerName" id="sellerName" class="layui-input required layui-disabled" placeholder="卖方" readonly/>
                        </div>
                    </div>
                    <div class="layui-col-md3">
                        <label class="layui-form-label"><span class="text-danger">*</span>卖方代表</label>
                        <div class="layui-input-block">
                            <input name="sellerDeputy" id="sellerDeputy" class="layui-input required" placeholder="卖方代表"/>
                        </div>
                    </div>
                    <div class="layui-col-md6">
                        <label class="layui-form-label">卖方电话</label>
                        <div class="layui-input-block">
                            <input name="sellerTel" id="sellerTel" class="layui-input" placeholder="卖方电话"/>
                        </div>
                    </div>
                </div>
                <div class="layui-row">
                    <div class="layui-col-md3">
                        <label class="layui-form-label"><span class="text-danger">*</span>卖方开户行</label>
                        <div class="layui-input-block">
                            <input name="sellerBank" id="sellerBank" class="layui-input required" placeholder="卖方开户行"/>
                        </div>
                    </div>
                    <div class="layui-col-md3">
                        <label class="layui-form-label"><span class="text-danger">*</span>银行帐号</label>
                        <div class="layui-input-block">
                            <input name="sellerBankNo" id="sellerBankNo" class="layui-input required" placeholder="银行帐号"/>
                        </div>
                    </div>
                    <div class="layui-col-md6">
                        <label class="layui-form-label">地址</label>
                        <div class="layui-input-block">
                            <input name="sellerBankAddress" id="sellerBankAddress" class="layui-input" placeholder="地址"/>
                        </div>
                    </div>
                </div>
                <div class="layui-row">
                    <div class="layui-col-md12">
                        <label class="layui-form-label">结汇说明</label>
                        <div class="layui-input-block">
                            <input name="settleAccountInfo" id="settleAccountInfo" class="layui-input layui-disabled" placeholder="结汇说明" readonly/>
                        </div>
                    </div>
                </div>
                <div class="layui-row">
                    <div class="layui-col-md3">
                        <label class="layui-form-label">订单币制</label>
                        <div class="layui-input-block">
                            <input type="hidden" name="currencyId" id="currencyId"/>
                            <input name="currencyName" id="currencyName" class="layui-input layui-disabled" placeholder="订单币制" readonly/>
                        </div>
                    </div>
                    <div class="layui-col-md3">
                        <label class="layui-form-label"><span class="text-danger">*</span>计算汇率</label>
                        <div class="layui-input-block">
                            <input name="exchangeRate" id="exchangeRate" class="layui-input required" placeholder="计算汇率" NUMBER6/>
                            <input id="exchangeRateDisabled" class="layui-input layui-disabled zm-hide" value="按照结汇金额计算采购合同金额" readonly/>
                        </div>
                    </div>
                    <div class="layui-col-md3">
                        <label class="layui-form-label"><span class="text-danger">*</span>已结汇人民币</label>
                        <div class="layui-input-block">
                            <input name="settleAccountCny" id="settleAccountCny" class="layui-input" readonly/>
                        </div>
                    </div>
                </div>
                <div  class="layui-row">
                    <div class="layui-col-md3">
                        <label class="layui-form-label">客户总票差</label>
                        <div class="layui-input-block">
                            <input name="totalDifferenceVal" id="totalDifferenceVal" class="layui-input layui-disabled" placeholder="客户总票差" value="0.00" readonly/>
                        </div>
                    </div>
                    <div class="layui-col-md3">
                        <label class="layui-form-label"><span class="text-danger">*</span>本次调整票差</label>
                        <div class="layui-input-block">
                            <input name="differenceVal" id="differenceVal" class="layui-input required" placeholder="本次调整票差" value="0.00" NUMBER/>
                        </div>
                    </div>
                    <div class="layui-col-md6">
                        <span style="color: #ff0000;padding-left: 10px;line-height: 30px">票差=实际采购金额-预估采购金额（负数表示少收票本次调整也应为负数）</span>
                    </div>
                </div>
                <div class="layui-row">
                    <div class="layui-col-md12">
                        <label class="layui-form-label">备注</label>
                        <div class="layui-input-block">
                            <input name="memo" id="memo" class="layui-input" placeholder="备注"/>
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
    <div class="layui-tab layui-tab-brief" style="margin: 0px;">
        <ul class="layui-tab-title">
            <li class="layui-this">合同明细</li>
            <li>订单费用</li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <table class="layui-hide" id="memberTable"></table>
            </div>
            <div class="layui-tab-item">
                <table class="layui-hide" id="costTable"></table>
            </div>
        </div>
    </div>
</div>
<div class="tsf-page-btn-group">
    <button type="button" class="layui-btn layui-btn-sm layui-btn-normal save-btn"><i class="fa fa-save" aria-hidden="true"></i>保存</button>
    <button type="button" class="layui-btn layui-btn-primary layui-btn-sm close-window"><i class="fa fa-close"></i>关闭</button>
</div>

<script type="text/javascript" src="/js/jquery.min.js?v=202001010101"></script>
<script type="text/javascript" src="/js/jquery-ui.min.js?v=202001010101"></script>
<script type="text/javascript" src="/My97DatePicker/WdatePicker.js?v=202001010101"></script>
<script type="text/javascript" src="/layui/layui.js?v=202001010101"></script>
<script type="text/javascript" src="/js/app.js?v=202006010928"></script>
<script type="text/javascript" src="/js/sel-load.js?v=202001010101"></script>
<script type="text/javascript" src="/finance/purchaseContract/create.js?v=202111151156"></script>
</body>
</html>